package com.sw.c.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * YML映射配置
 */
@Data
@Configuration
@PropertySource(value = "classpath:application.yml")
@ConfigurationProperties(prefix = "file")
public class FileMappings {

    /**
     * 文件上传路径
     */
    private String filePath;

    /**
     * 文件映射地址
     */
    private String uploadPath;

}
